from zope.interface import implements
from worldcookery.interfaces import IRecipe

class Recipe:
    implements(IRecipe)

    name = u''
    ingredients = []
    tools = []
    time_to_cook = 0
    description = u''

from zope.component.factory import Factory

recipeFactory = Factory(
    Recipe,
    title=u"Create a new recipe",
    description = u"This factory instantiates new recipes."
    )
